/**
 * FileName: HomeService
 * Author:   秋水浮萍
 * Date:     2020/6/22 0:52
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.crm.crm.service.impl;

import com.crm.crm.mapper.SysHomeMapper;
import com.crm.crm.service.SysHomeService;
import com.crm.entity.MyHome;
import com.crm.entity.SysUser;
import com.crm.model.Aim;
import com.crm.model.AimExcel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author 秋水浮萍
 * @create 2020/6/22
 * @since 1.0.0
 */

@Service
public class SysHomeServiceImpl implements SysHomeService {
    @Autowired
    private SysHomeMapper mapper;

    @Override
    public MyHome homeList(int type) {
        return mapper.homeList(type);
    }


    @Override
    public Integer Aim(Aim aim) {
        return mapper.Aim(aim);
    }

    @Override
    public Aim findAim(String userId, String date) {
        return mapper.findAim(userId,date);
    }

    @Override
    public Integer updateAim(int quarter1, int quarter2, int quarter3, int quarter4, int yr, String updateTime, String depId, String userId, String time) {
        return mapper.updateAim(quarter1, quarter2, quarter3, quarter4, yr, updateTime, depId, userId, time);
    }


    @Override
    public List<Aim> yearAim(String time) {
        return mapper.yearAim(time);
    }

    @Override
    public List<Aim> allAim() {
        return mapper.allAim();
    }

    @Override
    public String minTime() {
        return mapper.minTime();
    }

    @Override
    public String maxTime() {
        return mapper.maxTime();
    }

    @Override
    public List<Aim> allName() {
        return mapper.allName();
    }

    @Override
    public SysUser user(String userId) {
        return mapper.user(userId);
    }

    @Override
    public List<AimExcel> quarter(int qua, String yr) {
        return mapper.quarter(qua,yr);
    }

    @Override
    public List<AimExcel> allInfo() {
        return mapper.allInfo();
    }


}
